﻿namespace BlamanticUI.Components;

/// <summary>
/// Render a div tag represented an item of collection.
/// </summary>
public class Item : BlazorChildContentComponentBase, IHasItem, IHasActive, IHasDisabled,IHasInverted
{
    /// <summary>
    /// Gets or sets a value indicating whether this is header.
    /// </summary>
    /// <value>
    ///   <c>true</c> if header; otherwise, <c>false</c>.
    /// </value>
    [Parameter] public bool Header { get; set; }
    /// <summary>
    /// Gets or sets a value indicating whether this state is actived.
    /// </summary>
    /// <value>
    ///   <c>true</c> if actived; otherwise, <c>false</c>.
    /// </value>
    [Parameter] public bool Active { get; set; }
    /// <summary>
    /// Gets or sets a value indicating whether removing all extra padding.
    /// </summary>
    /// <value>
    ///   <c>true</c> if fitted; otherwise, <c>false</c>.
    /// </value>
    [Parameter] public bool Fitted { get; set; }
    /// <summary>
    /// Gets or sets a value indicating whether this <see cref="IHasDisabled" /> is disabled.
    /// </summary>
    /// <value>
    ///   <c>true</c> if disabled; otherwise, <c>false</c>.
    /// </value>
    [Parameter] public bool Disabled { get; set; }
    [Parameter]public bool Inverted { get; set; }
}
